package com.ruoyi.lyy.mapper;

import com.ruoyi.lyy.domain.vo.CouponVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author YueYang
 * Created on 2025/11/17 21:41
 * @version 1.0
 */
@Mapper
public interface CouponMapper {

    /**
     * 根据用户id查询优惠券信息
     *
     * @param uid 用户id
     * @return 优惠券信息
     */
    List<CouponVO> selectCouponInfoByUid(@Param("uid") Integer uid);
}
